package org.csmzxy.xyj;

public class example07 {
    public static void main(String[] args){
      int a = 10;
      int b = 20;
      int max = a > b ? a : b;
      int min = a < b ? a : b;
      System.out.println("max ="+max);
      System.out.println("min = "+min);
    }
}
